(* Content-type: application/mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 7.0' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       145,          7]
NotebookDataLength[     14080,        562]
NotebookOptionsPosition[      9585,        401]
NotebookOutlinePosition[     10199,        425]
CellTagsIndexPosition[     10121,        420]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[TextData[{
 "New in: ",
 Cell["0.0", "HistoryData",
  CellTags->"New"],
 " | Modified in: ",
 Cell[" ", "HistoryData",
  CellTags->"Modified"],
 " | Obsolete in: ",
 Cell[" ", "HistoryData",
  CellTags->"Obsolete"],
 " | Excised in: ",
 Cell[" ", "HistoryData",
  CellTags->"Excised"]
}], "History",
 CellID->1247902091],

Cell[CellGroupData[{

Cell["Categorization", "CategorizationSection",
 CellID->1122911449],

Cell["Symbol", "Categorization",
 CellLabel->"Entity Type",
 CellID->686433507],

Cell["MathMR", "Categorization",
 CellLabel->"Paclet Name",
 CellID->605800465],

Cell["MathMR`", "Categorization",
 CellLabel->"Context",
 CellID->468444828],

Cell["MathMR/ref/MagneticBDirection", "Categorization",
 CellLabel->"URI"]
}, Closed]],

Cell[CellGroupData[{

Cell["Keywords", "KeywordsSection",
 CellID->477174294],

Cell["XXXX", "Keywords",
 CellID->1164421360]
}, Closed]],

Cell[CellGroupData[{

Cell["Syntax Templates", "TemplatesSection",
 CellID->1872225408],

Cell[BoxData[""], "Template",
 CellLabel->"Additional Function Template",
 CellID->1562036412],

Cell[BoxData[""], "Template",
 CellLabel->"Arguments Pattern",
 CellID->158391909],

Cell[BoxData[""], "Template",
 CellLabel->"Local Variables",
 CellID->1360575930],

Cell[BoxData[""], "Template",
 CellLabel->"Color Equal Signs",
 CellID->793782254]
}, Closed]],

Cell[CellGroupData[{

Cell["Details", "DetailsSection",
 CellID->307771771],

Cell["XXXX", "Details",
 CellLabel->"Lead",
 CellID->670882175],

Cell["XXXX", "Details",
 CellLabel->"Developers",
 CellID->350963985],

Cell["XXXX", "Details",
 CellLabel->"Authors",
 CellID->8391405],

Cell["XXXX", "Details",
 CellLabel->"Feature Name",
 CellID->3610269],

Cell["XXXX", "Details",
 CellLabel->"QA",
 CellID->401364205],

Cell["XXXX", "Details",
 CellLabel->"DA",
 CellID->350204745],

Cell["XXXX", "Details",
 CellLabel->"Docs",
 CellID->732958810],

Cell["XXXX", "Details",
 CellLabel->"Features Page Notes",
 CellID->222905350],

Cell["XXXX", "Details",
 CellLabel->"Comments",
 CellID->240026365]
}, Closed]],

Cell[CellGroupData[{

Cell["MagneticBDirection", "ObjectName",
 CellID->1224892054],

Cell[TextData[{
 Cell["   ", "ModInfo"],
 Cell[BoxData[
  RowBox[{"MagneticBDirection", "[", 
   RowBox[{"theta_", ",", "phi_"}], "]"}]], "InlineFormula"],
 " \[LineSeparator]calculate the B directin in the ",
 "Cartesian coordinate system"
}], "Usage",
 CellChangeTimes->{{3.498694187525649*^9, 3.498694196657258*^9}, {
  3.498694228327739*^9, 3.498694234983609*^9}},
 CellID->982511436],

Cell["\<\
\[Theta] and \[Phi] is measured from the intrinsic axes {$Xdir, $Ydir, $Zdir}\
\
\>", "Notes",
 CellChangeTimes->{{3.498694264086848*^9, 3.498694289125556*^9}},
 CellID->1067943069]
}, Open  ]],

Cell[CellGroupData[{

Cell["Tutorials", "TutorialsSection",
 CellID->250839057],

Cell["XXXX", "Tutorials",
 CellID->341631938]
}, Open  ]],

Cell[CellGroupData[{

Cell["Related Demonstrations", "RelatedDemonstrationsSection",
 CellID->1268215905],

Cell["XXXX", "RelatedDemonstrations",
 CellID->1129518860]
}, Open  ]],

Cell[CellGroupData[{

Cell["Related Links", "RelatedLinksSection",
 CellID->1584193535],

Cell["XXXX", "RelatedLinks",
 CellID->1038487239]
}, Open  ]],

Cell[CellGroupData[{

Cell["See Also", "SeeAlsoSection",
 CellID->1255426704],

Cell["XXXX", "SeeAlso",
 CellID->929782353]
}, Open  ]],

Cell[CellGroupData[{

Cell["More About", "MoreAboutSection",
 CellID->38303248],

Cell["XXXX", "MoreAbout",
 CellID->1665078683]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 InterpretationBox[GridBox[{
    {
     StyleBox["Examples", "PrimaryExamplesSection"], 
     ButtonBox[
      RowBox[{
       RowBox[{"More", " ", "Examples"}], " ", "\[RightTriangle]"}],
      BaseStyle->"ExtendedExamplesLink",
      ButtonData:>"ExtendedExamples"]}
   }],
  $Line = 0; Null]], "PrimaryExamplesSection",
 CellID->880084151],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Graphics3D", "[", 
  RowBox[{
   RowBox[{
    RowBox[{
     RowBox[{"Arrow", "[", 
      RowBox[{"{", 
       RowBox[{
        RowBox[{"{", 
         RowBox[{"0", ",", "0", ",", "0"}], "}"}], ",", "#"}], "}"}], "]"}], 
     "&"}], "/@", 
    RowBox[{"{", 
     RowBox[{"$Xdir", ",", " ", "$Ydir", ",", " ", "$Zdir"}], "}"}]}], ",", 
   RowBox[{"Axes", "\[Rule]", "True"}], ",", 
   RowBox[{"Boxed", "\[Rule]", "False"}], ",", 
   RowBox[{"AxesStyle", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{"Red", ",", "Green", ",", "Blue"}], "}"}]}], ",", 
   RowBox[{"AxesOrigin", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{"0", ",", "0", ",", "0"}], "}"}]}], ",", 
   RowBox[{"PlotRange", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{
      RowBox[{"{", 
       RowBox[{
        RowBox[{"-", "1"}], ",", "1"}], "}"}], ",", 
      RowBox[{"{", 
       RowBox[{
        RowBox[{"-", "1"}], ",", "1"}], "}"}], ",", 
      RowBox[{"{", 
       RowBox[{
        RowBox[{"-", "1"}], ",", "1"}], "}"}]}], "}"}]}]}], "]"}]], "Input",
 CellChangeTimes->{{3.498694304425597*^9, 3.498694383207406*^9}},
 CellLabel->"In[52]:=",
 CellID->127599367],

Cell[BoxData[
 Graphics3DBox[{
   Arrow3DBox[
    NCache[{{0, 0, 0}, {2^Rational[-1, 2], -2^Rational[-1, 2], 0}}, {{0, 0, 
      0}, {0.7071067811865475, -0.7071067811865475, 0}}]], 
   Arrow3DBox[
    NCache[{{0, 0, 0}, {
      6^Rational[-1, 2], 6^Rational[-1, 2], -
       Rational[2, 3]^Rational[1, 2]}}, {{0, 0, 0}, {0.4082482904638631, 
      0.4082482904638631, -0.816496580927726}}]], 
   Arrow3DBox[
    NCache[{{0, 0, 0}, {
      3^Rational[-1, 2], 3^Rational[-1, 2], 3^Rational[-1, 2]}}, {{0, 0, 0}, {
      0.5773502691896258, 0.5773502691896258, 0.5773502691896258}}]]},
  Axes->True,
  AxesOrigin->{0, 0, 0},
  AxesStyle->{
    RGBColor[1, 0, 0], 
    RGBColor[0, 1, 0], 
    RGBColor[0, 0, 1]},
  Boxed->False,
  ImageSize->{322.55208208951376`, 473.},
  PlotRange->{{-1, 1}, {-1, 1}, {-1, 1}},
  ViewPoint->{1.8665134626389304`, -2.4306096042773064`, 1.4346652729408869`},
  
  ViewVertical->{0.16477794512946536`, -0.21107197537300176`, 
   0.96348162930647}]], "Output",
 CellChangeTimes->{{3.498694296754851*^9, 3.498694383527066*^9}},
 CellLabel->"Out[52]=",
 CellID->1939810654]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"(*", "$Xdir", "*)"}], "\[IndentingNewLine]", 
  RowBox[{"MagneticBDirection", "[", 
   RowBox[{
    RowBox[{"90", "Degree"}], ",", 
    RowBox[{"0", "Degree"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.498694446753407*^9, 3.498694470939606*^9}},
 CellLabel->"In[53]:=",
 CellID->1355194270],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   FractionBox["1", 
    SqrtBox["2"]], ",", 
   RowBox[{"-", 
    FractionBox["1", 
     SqrtBox["2"]]}], ",", "0"}], "}"}]], "Output",
 CellChangeTimes->{3.498694453150702*^9},
 CellLabel->"Out[53]=",
 CellID->1352271207]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"(*", "$Ydir", "*)"}], "\[IndentingNewLine]", 
  RowBox[{"MagneticBDirection", "[", 
   RowBox[{
    RowBox[{"90", "Degree"}], ",", 
    RowBox[{"90", "Degree"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.498694491581614*^9, 3.498694507537988*^9}},
 CellLabel->"In[56]:=",
 CellID->1153950142],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   FractionBox["1", 
    SqrtBox["6"]], ",", 
   FractionBox["1", 
    SqrtBox["6"]], ",", 
   RowBox[{"-", 
    SqrtBox[
     FractionBox["2", "3"]]}]}], "}"}]], "Output",
 CellChangeTimes->{{3.49869449784603*^9, 3.498694508024558*^9}},
 CellLabel->"Out[56]=",
 CellID->1912961323]
}, Open  ]]
}, Open  ]],

Cell[CellGroupData[{

Cell["More Examples", "ExtendedExamplesSection",
 CellTags->"ExtendedExamples",
 CellID->1854448968],

Cell[BoxData[
 InterpretationBox[Cell["Scope", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1293636265],

Cell[BoxData[
 InterpretationBox[Cell["Generalizations & Extensions", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1020263627],

Cell[CellGroupData[{

Cell[BoxData[
 InterpretationBox[Cell["Options", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->2061341341],

Cell[BoxData[
 InterpretationBox[Cell["XXXX", "ExampleSubsection"],
  $Line = 0; Null]], "ExampleSubsection",
 CellID->1757724783],

Cell[BoxData[
 InterpretationBox[Cell["XXXX", "ExampleSubsection"],
  $Line = 0; Null]], "ExampleSubsection",
 CellID->1295379749]
}, Closed]],

Cell[BoxData[
 InterpretationBox[Cell["Applications", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->258228157],

Cell[BoxData[
 InterpretationBox[Cell["Properties & Relations", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->2123667759],

Cell[BoxData[
 InterpretationBox[Cell["Possible Issues", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1305812373],

Cell[BoxData[
 InterpretationBox[Cell["Interactive Examples", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1653164318],

Cell[BoxData[
 InterpretationBox[Cell["Neat Examples", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->589267740]
}, Open  ]]
},
WindowSize->{700, 770},
WindowMargins->{{0, Automatic}, {Automatic, 25}},
CellContext->"Global`",
FrontEndVersion->"7.0 for Linux x86 (32-bit) (February 25, 2009)",
StyleDefinitions->FrontEnd`FileName[{"Wolfram"}, "FunctionPageStyles.nb", 
  CharacterEncoding -> "iso8859-1"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "ExtendedExamples"->{
  Cell[8065, 343, 100, 2, 56, "ExtendedExamplesSection",
   CellTags->"ExtendedExamples",
   CellID->1854448968]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"ExtendedExamples", 9983, 413}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[545, 20, 325, 14, 26, "History",
 CellID->1247902091],
Cell[CellGroupData[{
Cell[895, 38, 68, 1, 30, "CategorizationSection",
 CellID->1122911449],
Cell[966, 41, 79, 2, 70, "Categorization",
 CellID->686433507],
Cell[1048, 45, 79, 2, 70, "Categorization",
 CellID->605800465],
Cell[1130, 49, 76, 2, 70, "Categorization",
 CellID->468444828],
Cell[1209, 53, 74, 1, 70, "Categorization"]
}, Closed]],
Cell[CellGroupData[{
Cell[1320, 59, 55, 1, 20, "KeywordsSection",
 CellID->477174294],
Cell[1378, 62, 45, 1, 70, "Keywords",
 CellID->1164421360]
}, Closed]],
Cell[CellGroupData[{
Cell[1460, 68, 65, 1, 20, "TemplatesSection",
 CellID->1872225408],
Cell[1528, 71, 94, 2, 70, "Template",
 CellID->1562036412],
Cell[1625, 75, 82, 2, 70, "Template",
 CellID->158391909],
Cell[1710, 79, 81, 2, 70, "Template",
 CellID->1360575930],
Cell[1794, 83, 82, 2, 70, "Template",
 CellID->793782254]
}, Closed]],
Cell[CellGroupData[{
Cell[1913, 90, 53, 1, 20, "DetailsSection",
 CellID->307771771],
Cell[1969, 93, 63, 2, 70, "Details",
 CellID->670882175],
Cell[2035, 97, 69, 2, 70, "Details",
 CellID->350963985],
Cell[2107, 101, 64, 2, 70, "Details",
 CellID->8391405],
Cell[2174, 105, 69, 2, 70, "Details",
 CellID->3610269],
Cell[2246, 109, 61, 2, 70, "Details",
 CellID->401364205],
Cell[2310, 113, 61, 2, 70, "Details",
 CellID->350204745],
Cell[2374, 117, 63, 2, 70, "Details",
 CellID->732958810],
Cell[2440, 121, 78, 2, 70, "Details",
 CellID->222905350],
Cell[2521, 125, 67, 2, 70, "Details",
 CellID->240026365]
}, Closed]],
Cell[CellGroupData[{
Cell[2625, 132, 61, 1, 64, "ObjectName",
 CellID->1224892054],
Cell[2689, 135, 388, 10, 76, "Usage",
 CellID->982511436],
Cell[3080, 147, 191, 5, 26, "Notes",
 CellID->1067943069]
}, Open  ]],
Cell[CellGroupData[{
Cell[3308, 157, 57, 1, 44, "TutorialsSection",
 CellID->250839057],
Cell[3368, 160, 45, 1, 17, "Tutorials",
 CellID->341631938]
}, Open  ]],
Cell[CellGroupData[{
Cell[3450, 166, 83, 1, 31, "RelatedDemonstrationsSection",
 CellID->1268215905],
Cell[3536, 169, 58, 1, 17, "RelatedDemonstrations",
 CellID->1129518860]
}, Open  ]],
Cell[CellGroupData[{
Cell[3631, 175, 65, 1, 31, "RelatedLinksSection",
 CellID->1584193535],
Cell[3699, 178, 49, 1, 17, "RelatedLinks",
 CellID->1038487239]
}, Open  ]],
Cell[CellGroupData[{
Cell[3785, 184, 55, 1, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[3843, 187, 43, 1, 17, "SeeAlso",
 CellID->929782353]
}, Open  ]],
Cell[CellGroupData[{
Cell[3923, 193, 57, 1, 31, "MoreAboutSection",
 CellID->38303248],
Cell[3983, 196, 46, 1, 17, "MoreAbout",
 CellID->1665078683]
}, Open  ]],
Cell[CellGroupData[{
Cell[4066, 202, 356, 11, 68, "PrimaryExamplesSection",
 CellID->880084151],
Cell[CellGroupData[{
Cell[4447, 217, 1147, 35, 73, "Input",
 CellID->127599367],
Cell[5597, 254, 1099, 29, 483, "Output",
 CellID->1939810654]
}, Open  ]],
Cell[CellGroupData[{
Cell[6733, 288, 327, 9, 51, "Input",
 CellID->1355194270],
Cell[7063, 299, 263, 10, 47, "Output",
 CellID->1352271207]
}, Open  ]],
Cell[CellGroupData[{
Cell[7363, 314, 328, 9, 51, "Input",
 CellID->1153950142],
Cell[7694, 325, 322, 12, 55, "Output",
 CellID->1912961323]
}, Open  ]]
}, Open  ]],
Cell[CellGroupData[{
Cell[8065, 343, 100, 2, 56, "ExtendedExamplesSection",
 CellTags->"ExtendedExamples",
 CellID->1854448968],
Cell[8168, 347, 125, 3, 34, "ExampleSection",
 CellID->1293636265],
Cell[8296, 352, 148, 3, 22, "ExampleSection",
 CellID->1020263627],
Cell[CellGroupData[{
Cell[8469, 359, 127, 3, 22, "ExampleSection",
 CellID->2061341341],
Cell[8599, 364, 130, 3, 70, "ExampleSubsection",
 CellID->1757724783],
Cell[8732, 369, 130, 3, 70, "ExampleSubsection",
 CellID->1295379749]
}, Closed]],
Cell[8877, 375, 131, 3, 22, "ExampleSection",
 CellID->258228157],
Cell[9011, 380, 142, 3, 22, "ExampleSection",
 CellID->2123667759],
Cell[9156, 385, 135, 3, 22, "ExampleSection",
 CellID->1305812373],
Cell[9294, 390, 140, 3, 22, "ExampleSection",
 CellID->1653164318],
Cell[9437, 395, 132, 3, 22, "ExampleSection",
 CellID->589267740]
}, Open  ]]
}
]
*)

(* End of internal cache information *)
